package com.myapp.ruyixing.ui;

import android.content.Intent;
import android.os.Bundle;

import com.myapp.ruyixing.R;
import com.myapp.ruyixing.model.CityHotMenu.HotCell;
import com.myapp.ruyixing.ui.SearchCityDistrictFragment.OnDistrictItemClickListener;

public class SearchCityDistrictActivity extends BaseActivity implements
		OnDistrictItemClickListener {

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);

		setContentView(R.layout.activity_search_city_district);
	}

	@Override
	public void onDistrictItemClicked(HotCell cell) {
		startActivity(new Intent(SearchCityDistrictActivity.this,
				NearbyStoreActivity.class).putExtra(
				NearbyStoreActivity.INTENT_KEY_DISTIRCTID, cell.id).putExtra(
				NearbyStoreActivity.INTENT_KEY_DISTIRCT_NAME, cell.name));

	}
}
